package model;

public class WrongPositionException extends Exception {

	private static final long serialVersionUID = 8370063645031660101L;
	
	private final int x, y;
	
	public WrongPositionException(int x, int y) {
		this.x = x;
		this.y = y;
	}
	
	public String getMessage() {
		return "No position at (" + x + "," + y + ")";
	}
	
}
